package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.dto.MallFundFlowDto;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by DK on 16/11/8.
 */
@Repository
public interface MallFundFlowRepositoryCustom {
    /**
     *
     * @param transactionType
     * @param transactionFlow
     * @param paymentMethod
     * @param beginDate
     * @param endDate
     * @param operationAmount
     * @param mallOrderNum
     * @param mallId
     * @param pageResult
     * @return
     */
    PageResult<MallFundFlowDto> findMallFundFlowPage(String transactionType, String transactionFlow, String paymentMethod, String beginDate, String endDate, Double operationAmount, String mallOrderNum, Long mallId, PageResult pageResult);

    /**
     *
     * @param transactionType
     * @param transactionFlow
     * @param paymentMethod
     * @param beginDate
     * @param endDate
     * @param operationAmount
     * @param mallOrderNum
     * @param mallId
     * @return
     */
    List<MallFundFlowDto> findMallFundFlowExport(String transactionType, String transactionFlow, String paymentMethod, String beginDate, String endDate, Double operationAmount, String mallOrderNum, Long mallId);
}
